package com.ruoyi.web.controller.beshow;


import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.service.IBeCompletedService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/ruoyi/beshow")
public class beshowController extends BaseController {

    @Resource
    private IBeCompletedService beCompletedService;

    private String prefix = "ruoyi/beshow";
    @RequiresPermissions("ruoyi:beshow:view")
    @GetMapping("/beshow/{bId}")
    public String completedshow(@PathVariable("bId") Long bId, ModelMap map) {
        map.put("bId", bId);
        return prefix + "/beshow";
    }


/*    //查询项目表
    @RequiresPermissions("ruoyi:beshow:list")
    @PostMapping("/list")
    @ResponseBody
    public TableDataInfo list(BeCompleted beCompleted) {
        startPage();
        List<BeCompleted> list = beCompletedService.selectBeCompletedList(beCompleted);
        return getDataTable(list);
    }*/

}
